<template>
  <div id="app">
    <router-view />
  </div>
</template>
<script>
export default {
  created() {
    let u = navigator.userAgent
    let isAndroid = u.indexOf('Android') > -1 || u.indexOf('Adr') > -1
    if (isAndroid) {
      this.$router.push('')
    }
  }
}
</script>
<style lang="stylus">
html, body, p, h1, h2, h3
  padding 0
  margin 0
html, body
  height 100%
#app
  font-family 'Avenir', Helvetica, Arial, sans-serif
  -webkit-font-smoothing antialiased
  -moz-osx-font-smoothing grayscale
  text-align center
  color #2c3e50
  height 100%
  background #f6f6f6

#nav
  padding 30px
  a
    font-weight bold
    color #2c3e50
    &.router-link-exact-active
      color #42b983
</style>

